package com.max.Insurance.InsuranceAPI.demo.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class LoginForm {
    @NotBlank
    @Length(max=20)
    private String userName;
    @NotBlank
    @Length(max=20)
    private String password;
}
